package com.jjb.www.http.api;

import com.hjq.http.config.IRequestApi;

import java.util.List;

/**
 * @author CRG
 * @date :2024/1/18 16:06
 * @description:
 */
public class LiveDingApi implements IRequestApi {
    private String id_card;
    private String student_id;
    private String type;
    private Integer page;
    private Integer pageSize;

    public LiveDingApi setId_card(String id_card) {
        this.id_card = id_card;
        return this;
    }

    public LiveDingApi setStudent_id(String student_id) {
        this.student_id = student_id;
        return this;
    }

    public LiveDingApi setType(String type) {
        this.type = type;
        return this;
    }

    public LiveDingApi setPage(Integer page) {
        this.page = page;
        return this;
    }

    public LiveDingApi setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
        return this;
    }

    @Override
    public String getApi() {
        return "/api/mech/v3/superviseLog/liveLogV2";
    }
    public static class Bean{

        private Boolean success;
        private Object errCode;
        private Object errMessage;
        private Integer totalCount;
        private Integer pageSize;
        private Integer pageIndex;
        private List<DataDTO> data;

        public Boolean getSuccess() {
            return success;
        }

        public void setSuccess(Boolean success) {
            this.success = success;
        }

        public Object getErrCode() {
            return errCode;
        }

        public void setErrCode(Object errCode) {
            this.errCode = errCode;
        }

        public Object getErrMessage() {
            return errMessage;
        }

        public void setErrMessage(Object errMessage) {
            this.errMessage = errMessage;
        }

        public Integer getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(Integer totalCount) {
            this.totalCount = totalCount;
        }

        public Integer getPageSize() {
            return pageSize;
        }

        public void setPageSize(Integer pageSize) {
            this.pageSize = pageSize;
        }

        public Integer getPageIndex() {
            return pageIndex;
        }

        public void setPageIndex(Integer pageIndex) {
            this.pageIndex = pageIndex;
        }

        public List<DataDTO> getData() {
            return data;
        }

        public void setData(List<DataDTO> data) {
            this.data = data;
        }

        public static class DataDTO {
            private String id;
            private Object statusEnum;
            private String planCode;
            private String postCode;
            private String idCard;
            private String appKey;
            private String courseCode;
            private String courseName;
            private String chapterCode;
            private String chapterName;
            private String sectionCode;
            private String sectionName;
            private String type;
            private Integer countDuration;
            private Integer duration;
            private String argsJson;
            private String createTime;
            private String updateTime;
            private List<?> validateCos;
            private Object planVersion;
            private Boolean isPass;
            private String train_post_code;
            private String train_post_name;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public Object getStatusEnum() {
                return statusEnum;
            }

            public void setStatusEnum(Object statusEnum) {
                this.statusEnum = statusEnum;
            }

            public String getPlanCode() {
                return planCode;
            }

            public void setPlanCode(String planCode) {
                this.planCode = planCode;
            }

            public String getPostCode() {
                return postCode;
            }

            public void setPostCode(String postCode) {
                this.postCode = postCode;
            }

            public String getIdCard() {
                return idCard;
            }

            public void setIdCard(String idCard) {
                this.idCard = idCard;
            }

            public String getAppKey() {
                return appKey;
            }

            public void setAppKey(String appKey) {
                this.appKey = appKey;
            }

            public String getCourseCode() {
                return courseCode;
            }

            public void setCourseCode(String courseCode) {
                this.courseCode = courseCode;
            }

            public String getCourseName() {
                return courseName;
            }

            public void setCourseName(String courseName) {
                this.courseName = courseName;
            }

            public String getChapterCode() {
                return chapterCode;
            }

            public void setChapterCode(String chapterCode) {
                this.chapterCode = chapterCode;
            }

            public String getChapterName() {
                return chapterName;
            }

            public void setChapterName(String chapterName) {
                this.chapterName = chapterName;
            }

            public String getSectionCode() {
                return sectionCode;
            }

            public void setSectionCode(String sectionCode) {
                this.sectionCode = sectionCode;
            }

            public String getSectionName() {
                return sectionName;
            }

            public void setSectionName(String sectionName) {
                this.sectionName = sectionName;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public Integer getCountDuration() {
                return countDuration;
            }

            public void setCountDuration(Integer countDuration) {
                this.countDuration = countDuration;
            }

            public Integer getDuration() {
                return duration;
            }

            public void setDuration(Integer duration) {
                this.duration = duration;
            }

            public String getArgsJson() {
                return argsJson;
            }

            public void setArgsJson(String argsJson) {
                this.argsJson = argsJson;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public List<?> getValidateCos() {
                return validateCos;
            }

            public void setValidateCos(List<?> validateCos) {
                this.validateCos = validateCos;
            }

            public Object getPlanVersion() {
                return planVersion;
            }

            public void setPlanVersion(Object planVersion) {
                this.planVersion = planVersion;
            }

            public Boolean getIsPass() {
                return isPass;
            }

            public void setIsPass(Boolean isPass) {
                this.isPass = isPass;
            }

            public String getTrain_post_code() {
                return train_post_code;
            }

            public void setTrain_post_code(String train_post_code) {
                this.train_post_code = train_post_code;
            }

            public String getTrain_post_name() {
                return train_post_name;
            }

            public void setTrain_post_name(String train_post_name) {
                this.train_post_name = train_post_name;
            }
        }
    }
}
